const { prompt } = require('inquirer');
const config = require('../config')
const constants = require('./../config/constant');
const process = require('./process');
const { VUE2, VUE3 } = constants;

(async () => {
  const { version } = await prompt({
    type: 'list',
    name: 'version',
    message: 'please check vue version',
    choices: [
      VUE2, VUE3
    ]
  })
  let { packageName } = await process();
  // switch (version)
  // {
  //   case VUE3:
  //     let git = config[VUE3];
  //     // program.command()
  //     console.log(name)
  //     break;

  //   default:
  //     break;
  // }
})()